let arr = []

console.log(arr instanceof Array);//true
console.log(arr instanceof Object);//true

let fn = function () { }
console.log(fn instanceof Function);//true
console.log(fn instanceof Object);//true

let obj = {}
console.log(obj instanceof Object);//true
console.log(obj instanceof Array);//false
console.log(obj instanceof Function);//false

let s = new String('hello')
console.log(s instanceof String);//true
console.log(s instanceof Object);//true
console.log(s instanceof Array);//false

let s1 = "hello"
console.log(s1 instanceof String);//false
console.log(s1 instanceof Object);//false
console.log(s1 instanceof Array);//false

let num = new Number(123)
console.log(num instanceof Number);//true
console.log(num instanceof Object);//true
console.log(num instanceof Array);//false

let num1 = 123
console.log(num1 instanceof Number);//false
console.log(num1 instanceof Object);//false
